package org.sc.learn.server.front.service;

import org.sc.learn.server.front.model.User;

/**
 * @author qianwx
 */
public class UserHystrixClientFallback implements UserService {
  @Override
  public User register(User user) {
    return User.builder().id(-1L).userName("connect-fail").build();
  }

  @Override
  public String show() {
    return "connect-fail";
  }
}
